mobileLocationAuthorizationStatus
Type
function
Summary
Returns the current location authorization status of the calling aplication.
Syntax
mobileLocationAuthorizationStatus()
Description
Use the mobileLocationAuthorizationStatus function to find the current location authorization status of the calling application.
This function is available in iOS 8 and above.
Examples
put mobileLocationAuthorizationStatus() into tStatus
if tStatus is "denied" then
answer "The app cannot access your location"
end if
Value
| Name | Type | Description |
|---|---|---|
return | enum | The mobileLocationAuthorizationStatus function returns one of the following strings:
|
Related
function: mobileSensorReading, mobileCurrentLocation
message: trackingError, locationChanged
command: mobileStopTrackingSensor, mobileStartTrackingSensor
Compatibility and Support
Introduced
LiveCode 6.6.4
OS
ios
Platforms
mobile